package cn.yunhe.service;

import cn.yunhe.model.Page;
import cn.yunhe.model.Person;
import cn.yunhe.model.Union;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * @Author Created by zs on 2017/12/20.
 */
public interface IPersonService {

    Page queryLikePersons(Map<String, Object> cond);

    void  addPerson(Person person);

    void delPerson(Person person);

    Person findPerson(Person person);


    void updatePerson(Person person);

    Integer selAgePerson(Person person);

    Integer seleAgePerson(Person person);

    List<Person> getAllPersons();

    String readExcelFile(MultipartFile file);

    String getUnionId();
}
